//
//  Task_FrameFeedBack.m
//  EpointFrame5
//
//  Created by 李亚春 on 14-6-7.
//  Copyright (c) 2014年 Epoint. All rights reserved.
//

#import "Task_FrameFeedBack.h"

@implementation Task_FrameFeedBack

-(void)execute
{
    NSString *feedbackcontent = [params objectForKey:@"feedbackcontent"];
    //中间平台验证
    NSString *Epoint_MobileManager_URL = NSLocalizedString(@"Epoint_MobileManager_URL", @"");
    NSString *managerNS = @"http://server.service.axis2";
     EpointWebServiceUtil *ws = [[EpointWebServiceUtil alloc]initWithUrl:Epoint_MobileManager_URL namespace:managerNS method:@"uploadQuestionFeedBack"];
    [ws addParameterForString:@"userguid" value:(NSString *)[DBFrameService getUserDefaults:Epoint_User_LoginId]];
    [ws addParameterForString:@"feedbackcontent" value:feedbackcontent];
    NSString *bs = ws.start;
    NSString *status = [EpointStringUtil getXMLFormatedAttribute:bs :@"Status"];
    if ([status isEqualToString:@"True"]) {
        [self toastInTask:@"感谢您的反馈！"];
    }
}

@end
